package edu.sctu.fengleilin.month05.day150525;
import java.util.Arrays;
/**
 * Created by user09 on 2015/5/25.
 */
public class FinalTextInImooc {
    public static void main(String[] args) {

        FinalTextInImooc hello = new FinalTextInImooc();
        int[] scores = {89,-23,64,91,119,52,73};
        int feng = hello.scores(scores);
        System.out.println("排序后的成绩：");
        System.out.println(Arrays.toString(scores));
    }

    //定义方法完成成绩排序并输出前三名的功能

    public int scores(int[] scores){

        Arrays.sort(scores);
        return scores.length;

    }
}
